/*
 * Copyright (c) 2017, Li Bo/Alex Lee All rights reserved.
 * 
 * http://www.libo4dream.club/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
package com.hyts.bmsp.service.resource;


import com.hyts.bmsp.model.resource.MenuInfoBean;
import com.hyts.bmsp.model.resource.MenuInfoDTO;
import com.hyts.bmsp.model.resource.MenuInfoQueryDTO;
import com.jfinal.plugin.activerecord.Page;

/**
 * @ClassName: MenuInfoService
 * @Description: 菜单信息业务逻辑实现接口
 * @author: LiBo/Alex Lee
 * @date: 2017年9月19日 下午11:46:05
 * @email: alexlibochn@china-pui.com.cn/alex.link@foxmail.com
 */
public interface MenuInfoService {
	
	
	/**
	 * @Title: searchMenuInfos
	 * @Description: 查询菜单信息列表
	 * @param dto
	 * @return
	 * @return: List<MenuInfoDTO>
	 */
	public Page<MenuInfoBean> searchMenuInfos(MenuInfoQueryDTO dto) throws IllegalArgumentException, IllegalAccessException;
	
	/**
	 * @Title: loadMenuInfo
	 * @Description: 加载菜单信息
	 * @param dto
	 * @return
	 * @return: MenuInfoDTO
	 */
	public MenuInfoDTO loadMenuInfo(MenuInfoDTO dto);
	
	/**
	 * @Title: addMenuInfo
	 * @Description: 增添菜单信息
	 * @param dto
	 * @return
	 * @return: Boolean
	 */
	public Boolean addMenuInfo(MenuInfoDTO dto);
	
	/**
	 * @Title: editMenuInfo
	 * @Description: 修改菜单信息
	 * @param dto
	 * @return
	 * @return: Boolean
	 */
	public Boolean editMenuInfo(MenuInfoDTO dto);

	/**
	 * @Title: deleteMenuInfo
	 * @Description: 删除菜单信息
	 * @param dto
	 * @return
	 * @return: Boolean
	 */
	public Boolean deleteMenuInfo(MenuInfoDTO dto);


}
